package com.frejoys.common.dto.app;

import com.frejoys.common.dto.common.PageDto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class LoginAddDto extends PageDto {

        // 小程序openid
        @Schema(type = "String", name = "openid", description = "openid", required = false, defaultValue = "")
        public String openid;

        // 小程序unionid
        @Schema(type = "String", name = "unionid", description = "unionid", required = false, defaultValue = "")
        public String unionid;

        // 昵称
        @Schema(type = "String", name = "nickname", description = "昵称", required = false, defaultValue = "")
        public String nickname;

        // 头像
        @Schema(type = "String", name = "avatar", description = "头像", required = false, defaultValue = "")
        public String avatar;

        // 登录类型，1为手机号，2为微信
        @Schema(type = "Integer", name = "type", description = "登录类型，1为手机号，2为微信", required = false, defaultValue = "")
        public Integer type;

        // 用户id
        @Schema(type = "Long", name = "userId", description = "用户id", required = false, defaultValue = "")
        public Long userId;

}
